package ldh.im.base.dao;

import ldh.im.base.pojo.ImDepartment;
import ldh.im.base.pojo.where.ImDepartmentWhere;

import java.util.List;

/**
* @author: ldh
* @date: 2024-03-21 10:36:16
*/
public interface ImDepartmentDao {

	Integer insert(ImDepartment imDepartment);

	Integer insertSelective(ImDepartment imDepartment);

	Integer updateById(ImDepartment imDepartment);
	
	Integer updateNotNullById(ImDepartment imDepartment);
	
	Integer deleteById(Long id);

	ImDepartment getById(Long id);

	List<ImDepartment> findByImDepartmentWhere(ImDepartmentWhere imDepartmentWhere);
	
	Long findTotalByImDepartmentWhere(ImDepartmentWhere imDepartmentWhere);
	
	
}
